PHP Stan environment step added #1
| @@ -9,6 +9,10 @@ on: | |||||||
|         required: false |         required: false | ||||||
|         type: string |         type: string | ||||||
|         default: ${{ vars.REGISTRY_PASSWORD }} |         default: ${{ vars.REGISTRY_PASSWORD }} | ||||||
|  |       environment_path: | ||||||
|  |         required: false | ||||||
|  |         type: string | ||||||
|  |         default: .env.phpstan | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   quality: |   quality: | ||||||
| @@ -22,6 +26,12 @@ jobs: | |||||||
|       - name: Setup composer |       - name: Setup composer | ||||||
|         uses: https://git.qlic.nl/actions/setup-composer@v1 |         uses: https://git.qlic.nl/actions/setup-composer@v1 | ||||||
|  |  | ||||||
|  |       - name: Copy ${{ inputs.environment_path }} to .env if it exists | ||||||
|  |         run: | | ||||||
|  |           if [ -f ${{ inputs.environment_path }} ]; then | ||||||
|  |             cp ${{ inputs.environment_path }} .env | ||||||
|  |           fi | ||||||
|  |  | ||||||
|       - name: Run PHPStan |       - name: Run PHPStan | ||||||
|         run: ./vendor/bin/phpstan analyse --memory-limit=2G |         run: ./vendor/bin/phpstan analyse --memory-limit=2G | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										8
									
								
								.idea/.gitignore
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								.idea/.gitignore
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | |||||||
|  | # Default ignored files | ||||||
|  | /shelf/ | ||||||
|  | /workspace.xml | ||||||
|  | # Editor-based HTTP Client requests | ||||||
|  | /httpRequests/ | ||||||
|  | # Datasource local storage ignored files | ||||||
|  | /dataSources/ | ||||||
|  | /dataSources.local.xml | ||||||
							
								
								
									
										8
									
								
								.idea/Quality.iml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								.idea/Quality.iml
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | |||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <module type="WEB_MODULE" version="4"> | ||||||
|  |   <component name="NewModuleRootManager"> | ||||||
|  |     <content url="file://$MODULE_DIR$" /> | ||||||
|  |     <orderEntry type="inheritedJdk" /> | ||||||
|  |     <orderEntry type="sourceFolder" forTests="false" /> | ||||||
|  |   </component> | ||||||
|  | </module> | ||||||
							
								
								
									
										12
									
								
								.idea/material_theme_project_new.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								.idea/material_theme_project_new.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | |||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <project version="4"> | ||||||
|  |   <component name="MaterialThemeProjectNewConfig"> | ||||||
|  |     <option name="metadata"> | ||||||
|  |       <MTProjectMetadataState> | ||||||
|  |         <option name="migrated" value="true" /> | ||||||
|  |         <option name="pristineConfig" value="false" /> | ||||||
|  |         <option name="userId" value="-23eb70d1:18f3366ed03:-7ff4" /> | ||||||
|  |       </MTProjectMetadataState> | ||||||
|  |     </option> | ||||||
|  |   </component> | ||||||
|  | </project> | ||||||
							
								
								
									
										8
									
								
								.idea/modules.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								.idea/modules.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | |||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <project version="4"> | ||||||
|  |   <component name="ProjectModuleManager"> | ||||||
|  |     <modules> | ||||||
|  |       <module fileurl="file://$PROJECT_DIR$/.idea/Quality.iml" filepath="$PROJECT_DIR$/.idea/Quality.iml" /> | ||||||
|  |     </modules> | ||||||
|  |   </component> | ||||||
|  | </project> | ||||||
							
								
								
									
										19
									
								
								.idea/php.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								.idea/php.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | |||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <project version="4"> | ||||||
|  |   <component name="MessDetectorOptionsConfiguration"> | ||||||
|  |     <option name="transferred" value="true" /> | ||||||
|  |   </component> | ||||||
|  |   <component name="PHPCSFixerOptionsConfiguration"> | ||||||
|  |     <option name="transferred" value="true" /> | ||||||
|  |   </component> | ||||||
|  |   <component name="PHPCodeSnifferOptionsConfiguration"> | ||||||
|  |     <option name="highlightLevel" value="WARNING" /> | ||||||
|  |     <option name="transferred" value="true" /> | ||||||
|  |   </component> | ||||||
|  |   <component name="PhpStanOptionsConfiguration"> | ||||||
|  |     <option name="transferred" value="true" /> | ||||||
|  |   </component> | ||||||
|  |   <component name="PsalmOptionsConfiguration"> | ||||||
|  |     <option name="transferred" value="true" /> | ||||||
|  |   </component> | ||||||
|  | </project> | ||||||
							
								
								
									
										6
									
								
								.idea/vcs.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								.idea/vcs.xml
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | |||||||
|  | <?xml version="1.0" encoding="UTF-8"?> | ||||||
|  | <project version="4"> | ||||||
|  |   <component name="VcsDirectoryMappings"> | ||||||
|  |     <mapping directory="" vcs="Git" /> | ||||||
|  |   </component> | ||||||
|  | </project> | ||||||
		Reference in New Issue
	
	Block a user