-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* - added bamarni/composer-bin-plugin - added php-cs-fixer, phpstan, phpunit - remove psalm - fixing phpstan and php-cs-fixer * update CI * update CI * tests phpcs and phpstan * fixing \OAndreyev\Mink\Driver\WebDriver::start * fixing \OAndreyev\Mink\Driver\WebDriver * updated ci * updated ci * updated ci * Update to support PHP 8 and remove unused code comments This commit updates the minimum supported PHP version in our CI workflow and composer.json file to PHP 8. Also, the PHP versions tested against is now expanded to include 8.2 and 8.3. Furthermore, unnecessary ‘inheritdoc’ comments have been removed to improve code readability. The 'WebDriver' class has been enriched too with PHP 8 attribute modifications for method input types. Lastly, the README and copyright years have been updated. These changes are important to keep the project maintained with the latest PHP releases and standards.
- Loading branch information
1 parent
058c254
commit bb64ac8
Showing
22 changed files
with
674 additions
and
441 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vendor-bin/**/composer.lock binary |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
$finder = (new PhpCsFixer\Finder()) | ||
->in(__DIR__ . '/src') | ||
->in(__DIR__ . '/tests') | ||
; | ||
|
||
return (new PhpCsFixer\Config()) | ||
->setRiskyAllowed(true) | ||
->setRules([ | ||
'@Symfony' => true, | ||
]) | ||
->setFinder($finder); |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
parameters: | ||
level: 6 | ||
paths: | ||
- src | ||
- tests | ||
ignoreErrors: | ||
- '#Call to an undefined method PHPUnit\\Framework\\Test::getName\(\)#' | ||
bootstrapFiles: | ||
- vendor/autoload.php | ||
- vendor-bin/phpunit/vendor/autoload.php |
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
Oops, something went wrong.