From 0c1fdb92c345ce4d87bc4f297e2517073b1af796 Mon Sep 17 00:00:00 2001 From: codemasher Date: Wed, 6 Jan 2021 13:27:45 +0100 Subject: [PATCH] :sparkles: PHPStorm code style & inspection settings --- .gitignore | 14 +- .idea/codeStyles/Project.xml | 863 +++++++++++++++++++ .idea/codeStyles/codeStyleConfig.xml | 5 + .idea/inspectionProfiles/Project_Default.xml | 28 + 4 files changed, 909 insertions(+), 1 deletion(-) create mode 100644 .idea/codeStyles/Project.xml create mode 100644 .idea/codeStyles/codeStyleConfig.xml create mode 100644 .idea/inspectionProfiles/Project_Default.xml diff --git a/.gitignore b/.gitignore index 8f74009cd..964d223f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,17 @@ -.build/* +# IDE - IntelliJ .idea/* +# Keep the code styles. +!.idea/codeStyles +.idea/codeStyles/* +!.idea/codeStyles/Project.xml +!.idea/codeStyles/codeStyleConfig.xml +# Keep the inspection levels +!.idea/inspectionProfiles +.idea/inspectionProfiles/* +!.idea/inspectionProfiles/Project_Default.xml + +# project stuff +.build/* docs/* vendor/* composer.lock diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 000000000..511ae8d84 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,863 @@ + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 000000000..79ee123c2 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 000000000..fcf7b674d --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,28 @@ + + + + \ No newline at end of file