Skip to content

Commit

Permalink
Change minimum PHP version to "v5.3.0" (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
rougin authored Oct 20, 2024
1 parent 643e906 commit 3cc2cb7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: [ '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
php-versions: [ '5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]

name: Run Unit Test on PHP ${{ matrix.php-versions }}

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ All notable changes to `Blueprint` will be documented in this file.
- Code coverage to `Codecov`
- Code documentation by `php-cs-fixer`
- Improved code quality by `phpstan`
- Minimum PHP version to `v5.3.0`
- Simplified code structure
- Workflow to `Github Actions`

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rougin/blueprint",
"description": "A bootstrap for PHP console projects.",
"keywords": [ "blueprint", "generator", "file-generator" ],
"keywords": [ "blueprint", "generator", "php-console" ],
"homepage": "https://roug.in/blueprint/",
"license": "MIT",
"authors":
Expand All @@ -15,7 +15,7 @@
],
"require":
{
"php": ">=5.4.0",
"php": ">=5.3.0",
"rougin/slytherin": "~0.9",
"symfony/console": "~2.8|~3.0|~4.0|~5.0|~6.0",
"symfony/yaml": "~2.8|~3.0|~4.0|~5.0|~6.0"
Expand Down
5 changes: 2 additions & 3 deletions src/Blueprint.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,11 @@ class Blueprint
/**
* @var array<string, string>
*/
protected $paths =
[
protected $paths = array(
'templates' => '',
'commands' => '',
'namespace' => '',
];
);

/**
* @var string
Expand Down

0 comments on commit 3cc2cb7

Please sign in to comment.