Skip to content

Commit

Permalink
Merge pull request #1 from peckadesign/pdp-2856-aktualizace-php-na-php74
Browse files Browse the repository at this point in the history
pdp#2856 aktualizace php na php74
  • Loading branch information
Jakub-Fajkus authored Mar 31, 2020
2 parents e467dcd + c77ae2d commit e0d8d9c
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4

script:
- vendor/bin/phpstan analyse -l 5 src

before_script:
- travis_retry composer install --no-interaction --prefer-dist

sudo: false

cache:
directories:
- $HOME/.composer/cache
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
}
],
"require": {
"tracy/tracy": "2.*"
"tracy/tracy": "~2.4.18"
},
"require-dev": {
"phpstan/phpstan": "0.12.11"
},
"autoload": {
"psr-0": {
Expand Down
4 changes: 2 additions & 2 deletions src/Pd/Diagnostics/DatabaseInfoPanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ class DatabaseInfoPanel implements Tracy\IBarPanel
/** @var string[] */
private $possibleDbNameKeys = array('dbname', 'database');

/** @var IDatabaseInfoPanelStyleHandler */
/** @var IDatabaseInfoPanelStyleHandler|NULL */
private $styleCallback;

/**
* @param string[] $databaseParams All database parameters in [{key => val}] format
* @param string|NULL $customDbNameKey Custom key of DB name value
* @param IDatabaseInfoPanelStyleHandler Handler with formating of DB name label in panel
* @param IDatabaseInfoPanelStyleHandler $styleCallback Handler with formating of DB name label in panel
*/
public function __construct(array $databaseParams, $customDbNameKey = NULL, IDatabaseInfoPanelStyleHandler $styleCallback = NULL)
{
Expand Down

0 comments on commit e0d8d9c

Please sign in to comment.