-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add toolbar action for creating copy of current form to edit view (#316)
* Implement controller action for copying existing form * Remove trailing commas * Move copy form to manager * Throw exception when form not exist * Increase required version for copy toolbar action * Update phpstan * Fix test * Move lint to PHP 8.1 * Update baseline * Update github action Co-authored-by: Alexander Schranz <[email protected]>
- Loading branch information
1 parent
1d84466
commit 8fc1492
Showing
12 changed files
with
194 additions
and
48 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 |
---|---|---|
|
@@ -42,7 +42,7 @@ jobs: | |
database: mysql | ||
dependency-versions: 'highest' | ||
tools: 'composer:v2' | ||
lint: true | ||
lint: false | ||
env: | ||
SYMFONY_DEPRECATIONS_HELPER: weak | ||
DATABASE_URL: mysql://root:[email protected]/sulu_form_test?serverVersion=5.7 | ||
|
@@ -53,7 +53,7 @@ jobs: | |
database: mysql | ||
dependency-versions: 'highest' | ||
tools: 'composer:v2' | ||
lint: false | ||
lint: true | ||
env: | ||
SYMFONY_DEPRECATIONS_HELPER: weak | ||
DATABASE_URL: mysql://root:[email protected]/sulu_form_test?serverVersion=5.7 | ||
|
@@ -100,12 +100,11 @@ jobs: | |
run: composer bootstrap-test-environment | ||
env: ${{ matrix.env }} | ||
|
||
- name: Lint code | ||
if: ${{ matrix.lint }} | ||
run: composer lint | ||
env: ${{ matrix.env }} | ||
|
||
- name: Execute test cases | ||
run: time composer test | ||
env: ${{ matrix.env }} | ||
|
||
- name: Lint code | ||
if: ${{ matrix.lint }} | ||
run: composer lint | ||
env: ${{ matrix.env }} |
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
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
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
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
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
Oops, something went wrong.