-
Notifications
You must be signed in to change notification settings - Fork 154
Symfony 4.x compatibility for Propel1 #506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jwong-dayspring
wants to merge
28
commits into
propelorm:1.6
Choose a base branch
from
dayspring-tech:1.7
base: 1.6
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
398e721
change propel.configuration and propel.logger services to be public t…
jwong-dayspring 51c7ab7
detect and handle difference in yaml format from symfony/yaml 3.3 and…
jwong-dayspring b2986b9
add reset() function to PropelDataCollector
jwong-dayspring 25d59bb
Merge branch 'add_datacollector_reset' into 1.6
jwong-dayspring 476c0f1
detect and handle difference in yaml format from symfony/yaml 3.3 and…
jwong-dayspring 751ec8f
Added classname to the create buildtime config file in cache/.../propel
4d8b7cf
fix issue with rendering propel profiler
jwong-dayspring 283e38b
update travis to test on php 7.3/7.4
jwong-dayspring cd4449f
replace boolean flags with bit flags
fe6f0b6
update versioning to be compatible with symfony ^4.0
a4b6768
Merge pull request #2 from dayspring-tech/add_datacollector_reset
48d87de
Merge branch '1.6' into classname-fix
ef668f5
Merge pull request #1 from dayspring-tech/classname-fix
c7a3e67
Merge branch '1.6' into feature/1.7
43d0faa
configure propel commands for Symfony 4
0938fd7
make propel.build_properties.class public
a984f6c
create file_locator alias that's public to get around warning
bc9a0c9
replace deprecated Twig_Extension with AbstractExtension
878a83f
Feature/17 GitHub actions (#3)
45062c1
Update readme to include 1.7 branch
jwong-dayspring bf80e3e
replace deprecated DefinitionDecorator with ChildDefinition
4f031d9
fix error when trying to open Propel profiler
jwong-dayspring 9db6c91
fix typo
jwong-dayspring ff35388
Merge pull request #4 from dayspring-tech/fix/profiler_for_in_if
jwong-dayspring b897e29
prep for package release
jwong-dayspring 5e64ec3
use dayspring-tech/propel1
mdenson-dayspring 635dda0
fix propel path
nibsirahsieu 2fc92c8
Merge pull request #10 from nibsirahsieu/fix_propel_path
jwong-dayspring File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,56 @@ | ||
| name: PHP Composer | ||
|
|
||
| on: | ||
| push: | ||
|
|
||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-18.04 | ||
|
|
||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| php: [ '7.2', '7.3', '7.4' ] | ||
| composer: [ '', '--prefer-lowest' ] | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v2 | ||
|
|
||
| - name: Use PHP | ||
| uses: shivammathur/setup-php@v2 | ||
| with: | ||
| php-version: ${{ matrix.php }} | ||
| extensions: sqlite3, zip | ||
| coverage: xdebug | ||
| tools: composer:v1 | ||
|
|
||
| - name: Get Composer Cache Directory | ||
| id: composer-cache | ||
| run: | | ||
| echo "::set-output name=dir::$(composer config cache-dir)" | ||
| working-directory: ./ | ||
|
|
||
| - name: cache dependencies | ||
| id: angular-dependencies | ||
| uses: actions/cache@v1 | ||
| with: | ||
| path: ${{ steps.composer-cache.outputs.dir }} | ||
| key: ${{ runner.os }}-${{ matrix.php }}-${{ matrix.composer }}-composer-${{ hashFiles('**/composer.lock') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-${{ matrix.php }}-${{ matrix.composer }}-composer- | ||
|
|
||
| - name: Validate composer.json and composer.lock | ||
| run: composer validate | ||
| working-directory: ./ | ||
|
|
||
| - name: Install dependencies | ||
| env: | ||
| COMPOSER_FLAGS: ${{ matrix.composer }} | ||
| run: composer update ${COMPOSER_FLAGS} --prefer-source | ||
| working-directory: ./ | ||
|
|
||
| - name: Run Tests | ||
| run: composer run-script ci-test | ||
| working-directory: ./ | ||
| env: | ||
| SYMFONY_DEPRECATIONS_HELPER: weak | ||
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,77 @@ | ||
| <?xml version="1.0" encoding="UTF-8" ?> | ||
|
|
||
| <container xmlns="http://symfony.com/schema/dic/services" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> | ||
|
|
||
| <services> | ||
| <service id="propel.file_locator" alias="file_locator" public="true"> | ||
| </service> | ||
|
|
||
| <service class="Propel\Bundle\PropelBundle\Command\AbstractCommand" | ||
| id="propel_bundle_propel.command.abstract_command" | ||
| abstract="true"> | ||
| </service> | ||
| <service class="Propel\Bundle\PropelBundle\Command\BuildCommand" | ||
| id="propel_bundle_propel.command.build_command"> | ||
| <tag name="console.command" command="propel:build" /> | ||
| </service> | ||
| <service class="Propel\Bundle\PropelBundle\Command\DatabaseCreateCommand" | ||
| id="propel_bundle_propel.command.database_create_command"> | ||
| <tag name="console.command" command="propel:database:create" /> | ||
| </service> | ||
| <service class="Propel\Bundle\PropelBundle\Command\DatabaseDropCommand" | ||
| id="propel_bundle_propel.command.database_drop_command"> | ||
| <tag name="console.command" command="propel:database:drop"/> | ||
| </service> | ||
| <service class="Propel\Bundle\PropelBundle\Command\FixturesDumpCommand" | ||
| id="propel_bundle_propel.command.fixtures_dump_command"> | ||
| <tag name="console.command" command="propel:fixtures:dump"/> | ||
| </service> | ||
| <service class="Propel\Bundle\PropelBundle\Command\FixturesLoadCommand" | ||
| id="propel_bundle_propel.command.fixtures_load_command"> | ||
| <tag name="console.command" command="propel:fixtures:load"/> | ||
| </service> | ||
| <service class="Propel\Bundle\PropelBundle\Command\FormGenerateCommand" | ||
| id="propel_bundle_propel.command.form_generate_command"> | ||
| <tag name="console.command" command="propel:form:generate"/> | ||
| </service> | ||
| <service class="Propel\Bundle\PropelBundle\Command\GraphvizGenerateCommand" | ||
| id="propel_bundle_propel.command.graphviz_generate_command"> | ||
| <tag name="console.command" command="propel:graphviz:generate"/> | ||
| </service> | ||
| <service class="Propel\Bundle\PropelBundle\Command\MigrationGenerateDiffCommand" | ||
| id="propel_bundle_propel.command.migration_generate_diff_command"> | ||
| <tag name="console.command" command="propel:migration:generate-diff"/> | ||
| </service> | ||
| <service class="Propel\Bundle\PropelBundle\Command\MigrationMigrateCommand" | ||
| id="propel_bundle_propel.command.migration_migrate_command"> | ||
| <tag name="console.command" command="propel:migration:migrate"/> | ||
| </service> | ||
| <service class="Propel\Bundle\PropelBundle\Command\MigrationStatusCommand" | ||
| id="propel_bundle_propel.command.migration_status_command"> | ||
| <tag name="console.command" command="propel:migration:status"/> | ||
| </service> | ||
| <service class="Propel\Bundle\PropelBundle\Command\ModelBuildCommand" | ||
| id="propel_bundle_propel.command.model_build_command"> | ||
| <tag name="console.command" command="propel:model:build"/> | ||
| </service> | ||
| <service class="Propel\Bundle\PropelBundle\Command\ReverseCommand" | ||
| id="propel_bundle_propel.command.reverse"> | ||
| <tag name="console.command" command="propel:reverse"/> | ||
| </service> | ||
| <service class="Propel\Bundle\PropelBundle\Command\SqlBuildCommand" | ||
| id="propel_bundle_propel.command.sql_build_command"> | ||
| <tag name="console.command" command="propel:sql:build"/> | ||
| </service> | ||
| <service class="Propel\Bundle\PropelBundle\Command\SqlInsertCommand" | ||
| id="propel_bundle_propel.command.sql_insert_command"> | ||
| <tag name="console.command" command="propel:sql:insert"/> | ||
| </service> | ||
| <service class="Propel\Bundle\PropelBundle\Command\TableDropCommand" | ||
| id="propel_bundle_propel.command.table_drop_command"> | ||
| <tag name="console.command" command="propel:table:drop"/> | ||
| </service> | ||
| </services> | ||
|
|
||
| </container> |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.