-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from php/initial-boilerplate
Initial boilerplate
- Loading branch information
Showing
10 changed files
with
4,036 additions
and
0 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,9 @@ | ||
name: "Continuous Integration" | ||
|
||
on: | ||
pull_request: | ||
push: | ||
|
||
jobs: | ||
ci: | ||
uses: laminas/workflow-continuous-integration/.github/workflows/continuous-integration.yml@1.x |
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,4 @@ | ||
/vendor/ | ||
/psalm.xml | ||
/.phpunit.cache/ | ||
/.phpcs-cache |
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,16 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use Php\Pie\Command; | ||
use Symfony\Component\Console\Application; | ||
|
||
/** @psalm-suppress UnresolvableInclude */ | ||
include $_composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php'; | ||
|
||
$application = new Application('pie', 'dev-main'); | ||
$application->addCommands([ | ||
new Command\DownloadCommand(), | ||
]); | ||
$application->run(); |
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,43 @@ | ||
{ | ||
"name": "php/pie", | ||
"type": "project", | ||
"description": "PIE - the PHP Installer for Extensions", | ||
"license": "BSD-3-Clause", | ||
"bin": ["bin/pie"], | ||
"autoload": { | ||
"psr-4": { | ||
"Php\\Pie\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Php\\PieUnitTest\\": "test/unit/" | ||
} | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "James Titcumb", | ||
"email": "asgrim@php.net" | ||
}, | ||
{ | ||
"name": "PIE contributors", | ||
"homepage": "https://github.com/php/pie/graphs/contributors" | ||
} | ||
], | ||
"require": { | ||
"php": "8.1.*||8.2.*||8.3.*", | ||
"symfony/console": "^6.4" | ||
}, | ||
"require-dev": { | ||
"doctrine/coding-standard": "^12.0", | ||
"phpunit/phpunit": "^10.5", | ||
"vimeo/psalm": "^5.22" | ||
}, | ||
"config": { | ||
"sort-packages": true, | ||
"preferred-install": "dist", | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
} | ||
} |
Oops, something went wrong.