-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Set PHP 7.4 as minimal version * Upgrade code to PHPStan 2.x * Fix bash scripts * Upgrade Github Actions dependencies
- Loading branch information
Showing
11 changed files
with
85 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM php:7.1 | ||
FROM php:7.4 | ||
|
||
# Enable phpdebug | ||
RUN apt-get update \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,39 @@ | ||
{ | ||
"name": "timeweb/phpstan-enum", | ||
"description": "Enum class reflection extension for PHPStan", | ||
"type": "phpstan-extension", | ||
"keywords": ["enum", "phpstan"], | ||
"license": "MIT", | ||
"require": { | ||
"php": "^7.1|^8.0", | ||
"myclabs/php-enum": "^1.2", | ||
"phpstan/phpstan": "^1.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^7.0|^9.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Timeweb\\PHPStan\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Timeweb\\Tests\\PHPStan\\": "tests/" | ||
} | ||
}, | ||
"scripts": { | ||
"test": "phpunit" | ||
}, | ||
"extra": { | ||
"phpstan": { | ||
"includes": [ | ||
"extension.neon", | ||
"rules.neon" | ||
] | ||
} | ||
"name": "timeweb/phpstan-enum", | ||
"description": "Enum class reflection extension for PHPStan", | ||
"type": "phpstan-extension", | ||
"keywords": [ | ||
"enum", | ||
"phpstan" | ||
], | ||
"license": "MIT", | ||
"require": { | ||
"php": "^7.4|^8.0", | ||
"myclabs/php-enum": "^1.2", | ||
"phpstan/phpstan": "^2.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^7.0|^9.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Timeweb\\PHPStan\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Timeweb\\Tests\\PHPStan\\": "tests/" | ||
} | ||
}, | ||
"scripts": { | ||
"test": "phpunit" | ||
}, | ||
"extra": { | ||
"phpstan": { | ||
"includes": [ | ||
"extension.neon", | ||
"rules.neon" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters