Comments (3)
There is a .editorconfig file that defines basic parameters. PHPStorm should honor these. For what it's worth, I have begun using PHPStorm/WebStorm myself... so please do keep using it on your end!
Many of the code formatting standards we've used date back quite a long time (to PHP 3 and 4 in a few cases). We are in the early stages of revising and codifying these. If you'd like to help us with this it would be much appreciated.
from providence.
There are two options:
- The quick one and easy one: I suggest we define a style on editconfig, we save it with the configuration, and we use it in PHPStorm. I don't feel like tidying us to a tool, but using a "standard".
- The long one: configure a command line PHP beautifier and formatter so we make sure all code is formatted the same way. In the long term, it should be this way, since you can run it before every commit and format code automatically. But it requires more effort, I don't feel on doing it as of now.
The critical issue as of now is that if we apply any editconfig/PHPStorm formatting it will update all the source code :( and it will not be nice on the git log.
I tried to apply any of the PHPStorm styles (PSR1/PSR2, Laravel, CodeIgniter...) and all of them introduced changes in spacing or braces location, or both :( So I don't feel like changing all the files as of now.
from providence.
merged on #364
from providence.
Related Issues (20)
- service.php returning fatal error on develop branch HOT 6
- Data importer not matching label on ORG class entity
- ItemService error when attempting to access ca_object_representations bundle from GET ca_objects HOT 2
- Bulk EAD/XML import giving errors with related list items HOT 1
- skipIfExpression not matching correctly in import mapping HOT 3
- Duplicate Relationship Types in dacs_heritage
- JPF loads as binary
- QuickSearch can show same record twice HOT 5
- Display Templates showing on Summary Pages even when not enabled for this view HOT 2
- Duplicate items being saved into sets HOT 1
- Collection hierarchies on the Summary Screen: typo and clarification of value for settings
- Default Collection Search Creator Column is Broken
- PHP8 HOT 1
- "Image is being processed" after data import with background processing enabled HOT 7
- Current_contents missing policy and template HOT 1
- purge-deleted Only Deletes Some Records and Not Others HOT 7
- ExistingRecordPolicy in Data Import not functioning as expected (develop) HOT 2
- "null" Date Duplicates "Not Set" Date
- After editing Obj Rep Relationships, Object May Have No Primary
- URL Encoding Failure for Tags Search
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from providence.