Skip to content
#

conventions

Here are 158 public repositories matching this topic...

onrige
onrige commented Nov 21, 2019

Hey. Just a question. Can we add possibility to extend from single string not just from array? So it will work like other linting libraries (eslint, stylelint, etc.).

package.json

"babel":  {
  "extends": "shared-tools"
},
"commitlint": {
  "extends": [
    "shared-tools"
  ]
},
"eslintConfig": {
  "extends": "shared-tools"
}
ipolevoy
ipolevoy commented Nov 5, 2019

how to:

  • How to configure for standalone apps
    • Single connection
    • Multiple connections
  • How to configure using a properties file
  • Override form system environment vars
  • Override from system properties
  • Configure and override in code.
  • Configure and override in ActiveWeb apps
    • Configure DB-Migrator
    • Configure connection pools
tomlankhorst
tomlankhorst commented Mar 30, 2020

Sometimes virtual functions are costly, sometimes not. Show both examples in this repo.

As suggested in #23 by @peci1:

Virtual functions might be costly if the function is called often. Maybe the code could have a non-virtual function OftenCalledFunction and a virtual NotSoOftenCalledFunction. But that decision is on you.

osterman
osterman commented Jul 23, 2018

what

  • Document usage of stage parameter
  • Explain why the term stage is used rather than environment

why

  • Users may not be accustomed to the nomenclature due to commonly misused usage of the term stage

references

can you give me some idea why the term 'stage' was chosen over 'environment'? In the label module?

A "stage" is where software performs (e.g. runs)

index0h
index0h commented Feb 9, 2020

@EvgeniiR @peter-gribanov @alexgivi @fox-hellraiser @WoZ @gotterdemarung
Господа, прошу вас о конструктивной критике и доводам по следующим статическим анализаторм psalm vs phpstan vs phan vs (ваш вариант). Хочу помимо idea инспекций / кодстайла добавить более нейтивные валидаторы кода, для запуска например через CI.
Для проверки стиля я предполагаю использовать PHP_CodeSniffer, но для остальног

nkkollaw
nkkollaw commented Aug 8, 2017

I'm wondering, does it really make sense to add documentation to our functions, if they're barely a wrapper to the original ones?

Unless there are gotchas, I would just leave:

/**
 * @link http://php.net/manual/en/function.xxx.php
 */

If we change something apart from the name of the function itself, we could just add a note:

/**
 * @link http://php.net/manual/en/

Improve this page

Add a description, image, and links to the conventions topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the conventions topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.