Skip to content

Commit b3c8649

Browse files
Merge pull request #62 from certificationy/feat/upgrade-deps
Upgraded deps + PHP pack 1.5
2 parents de865e4 + 0c650a5 commit b3c8649

14 files changed

Lines changed: 1011 additions & 788 deletions

File tree

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
php: ['7.4','8']
14+
php: ['8']
1515

1616
steps:
1717
- name: "Init repository"

.php_cs.dist renamed to .php-cs-fixer.dist.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
__DIR__.'/tests',
66
]);
77

8-
return PhpCsFixer\Config::create()
8+
$config = new PhpCsFixer\Config();
9+
return $config
910
->setRiskyAllowed(true)
1011
->setRules([
1112
'@Symfony' => true,
@@ -28,9 +29,8 @@
2829
'align' => 'left',
2930
],
3031
'protected_to_private' => false,
31-
'psr4' => false,
3232
'self_accessor' => false,
33-
'yoda_style' => null,
33+
'yoda_style' => false,
3434
'non_printable_character' => true,
3535
'phpdoc_no_empty_return' => false,
3636
'php_unit_test_case_static_method_calls' => ['call_type' => 'self'],

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
</p>
44

55
# Certificationy CLI
6-
> This is the CLI tool to train on certifications.
76

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

composer.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@
2222
}
2323
],
2424
"require": {
25-
"php": "^7.4|^8.0",
26-
"symfony/console": "^4.4 || ^5.3",
25+
"php": "^8.0",
26+
"symfony/console": "^4.4 || ^5.4 || ^6.0",
2727
"certificationy/certificationy": "^2.0",
28-
"symfony/yaml": "^4.4 || ^5.3",
28+
"symfony/yaml": "^4.4 || ^5.4 || ^6.0",
2929
"certificationy/symfony-pack": "^1.4",
30-
"certificationy/php-pack": "^1.4"
30+
"certificationy/php-pack": "^1.5"
3131
},
3232
"require-dev": {
33-
"friendsofphp/php-cs-fixer": "^2.18",
33+
"friendsofphp/php-cs-fixer": "^3.5",
3434
"php-parallel-lint/php-parallel-lint": "^1.0",
35-
"phpstan/phpstan": "^0.12",
36-
"phpstan/phpstan-phpunit": "^0.12",
37-
"phpunit/phpunit": "^8.0"
35+
"phpstan/phpstan": "^1.3",
36+
"phpstan/phpstan-phpunit": "^1.0",
37+
"phpunit/phpunit": "^9.0"
3838
},
3939
"autoload": {
4040
"psr-4": {"Certificationy\\Cli\\": "src"}
@@ -49,7 +49,7 @@
4949
},
5050
"scripts": {
5151
"cs-fix": "@php ./vendor/bin/php-cs-fixer fix",
52-
"phpstan": "@php ./vendor/bin/phpstan analyse src --level max",
52+
"phpstan": "@php ./vendor/bin/phpstan analyse src --level 8",
5353
"test": "@php ./vendor/bin/phpunit"
5454
},
5555
"scripts-descriptions": {

0 commit comments

Comments
 (0)