Skip to content

Commit

Permalink
Merge pull request #62 from certificationy/feat/upgrade-deps
Browse files Browse the repository at this point in the history
Upgraded deps + PHP pack 1.5
  • Loading branch information
mickaelandrieu authored Feb 4, 2022
2 parents de865e4 + 0c650a5 commit b3c8649
Show file tree
Hide file tree
Showing 14 changed files with 1,011 additions and 788 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
php: ['7.4','8']
php: ['8']

steps:
- name: "Init repository"
Expand Down
6 changes: 3 additions & 3 deletions .php_cs.dist → .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
__DIR__.'/tests',
]);

return PhpCsFixer\Config::create()
$config = new PhpCsFixer\Config();
return $config
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
Expand All @@ -28,9 +29,8 @@
'align' => 'left',
],
'protected_to_private' => false,
'psr4' => false,
'self_accessor' => false,
'yoda_style' => null,
'yoda_style' => false,
'non_printable_character' => true,
'phpdoc_no_empty_return' => false,
'php_unit_test_case_static_method_calls' => ['call_type' => 'self'],
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
</p>

# Certificationy CLI
> This is the CLI tool to train on certifications.

[![SensioLabsInsight](https://insight.sensiolabs.com/projects/cd3b6bc1-632e-491a-abfc-43edc390e1cc/mini.png)](https://insight.symfony.com/projects/cd3b6bc1-632e-491a-abfc-43edc390e1cc)
> This is the CLI tool to train on certifications.
## How it looks?

Expand Down
18 changes: 9 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@
}
],
"require": {
"php": "^7.4|^8.0",
"symfony/console": "^4.4 || ^5.3",
"php": "^8.0",
"symfony/console": "^4.4 || ^5.4 || ^6.0",
"certificationy/certificationy": "^2.0",
"symfony/yaml": "^4.4 || ^5.3",
"symfony/yaml": "^4.4 || ^5.4 || ^6.0",
"certificationy/symfony-pack": "^1.4",
"certificationy/php-pack": "^1.4"
"certificationy/php-pack": "^1.5"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.18",
"friendsofphp/php-cs-fixer": "^3.5",
"php-parallel-lint/php-parallel-lint": "^1.0",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-phpunit": "^0.12",
"phpunit/phpunit": "^8.0"
"phpstan/phpstan": "^1.3",
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^9.0"
},
"autoload": {
"psr-4": {"Certificationy\\Cli\\": "src"}
Expand All @@ -49,7 +49,7 @@
},
"scripts": {
"cs-fix": "@php ./vendor/bin/php-cs-fixer fix",
"phpstan": "@php ./vendor/bin/phpstan analyse src --level max",
"phpstan": "@php ./vendor/bin/phpstan analyse src --level 8",
"test": "@php ./vendor/bin/phpunit"
},
"scripts-descriptions": {
Expand Down
Loading

0 comments on commit b3c8649

Please sign in to comment.