-
-
Notifications
You must be signed in to change notification settings - Fork 699
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# This is a combination of 4 commits.
# This is the 1st commit message: add monorepo split for value objects function # The commit message #2 will be skipped: # fixup! add monorepo split for value objects function # The commit message #3 will be skipped: # fixup! fixup! add monorepo split for value objects function # The commit message #4 will be skipped: # fixup! fixup! fixup! add monorepo split for value objects function
- Loading branch information
1 parent
bed168b
commit 9131252
Showing
7 changed files
with
80 additions
and
4 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
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,13 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | ||
use Symplify\MonorepoBuilder\ValueObject\Option; | ||
|
||
return static function (ContainerConfigurator $containerConfigurator): void { | ||
$parameters = $containerConfigurator->parameters(); | ||
$parameters->set(Option::DIRECTORIES_TO_REPOSITORIES, [ | ||
__DIR__ . '/packages/symfony-php-config' => 'git@github.com:rector/symfony-php-config.git', | ||
]); | ||
}; |
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,30 @@ | ||
{ | ||
"name": "rector/symfony-php-config", | ||
"description": "Tools that easy work with Symfony PHP Configs", | ||
"license": "MIT", | ||
"authors": [ | ||
{ "name": "Tomas Votruba", "email": "tomas.vot@gmail.com", "homepage": "https://tomasvotruba.com" } | ||
], | ||
"require": { | ||
"php": "^7.2.4|^8.0", | ||
"symfony/dependency-injection": "^4.4.8|^5.0.6", | ||
"symfony/http-kernel": "^4.4.8|^5.0.6", | ||
"symplify/package-builder": "^8.2.11" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^8.5|^9.2" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Rector\\SymfonyPhpConfig\\": "src" | ||
}, | ||
"files": [ | ||
"functions/functions.php" | ||
] | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Rector\\SymfonyPhpConfig\\Tests\\": "tests" | ||
} | ||
} | ||
} |
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
11 changes: 11 additions & 0 deletions
11
packages/symfony-php-config/src/Exception/ValueObjectException.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Rector\SymfonyPhpConfig\Exception; | ||
|
||
use Exception; | ||
|
||
final class ValueObjectException extends Exception | ||
{ | ||
} |
File renamed without changes.
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,22 @@ | ||
# inspired by /~https://github.com/rectorphp/rector/blob/master/.travis.yml | ||
language: php | ||
|
||
dist: bionic | ||
|
||
php: 7.4 | ||
|
||
before_install: | ||
- phpenv config-rm xdebug.ini | ||
|
||
jobs: | ||
include: | ||
- | ||
name: "Split Monorepo" | ||
if: (branch = master OR tag IS present) && type = push | ||
script: | ||
- composer update | ||
# travis_retry to prevent fails | ||
- travis_retry vendor/bin/monorepo-builder split --ansi | ||
|
||
notifications: | ||
email: false |