- Null coalescing - check for null and performs next (?? ??=)
- Ternary - check for false and performs next (?:)
if (is_string($hashesForCherryPick)) $hashesForCherryPick = explode(" ", $hashesForCherryPick);
There is a difference between ~
and ^
in Composer, though it might not be immediately obvious in some cases. Let me clarify:
~
(tilde): Allows updates for the last digit specified.^
(caret): Allows updates for all minor versions within the same major version.~7.3
:git log --oneline
see to which commit you need to jumpgit reset --hard branch_hash
git push origin feature/DATRUECALL-180 --force
force push branch to remote originWhen your plugin is AbstractResourceBundle
and all your entities should be and actually placed at Model
directory,
you have that exception (notice ...\Entity\...
at exception rather than ..\Model\...
)
for your Your\SyliusPlugin\Model\YourEntity.php
that is weird.
This happens when you accidentally have your mapping file at src/Resources/config/doctrine/YourEntity.orm.xml
(without ../model/..
part) rather than src/Resources/config/doctrine/model/YourEntity.orm.xml
.
This issue may happen when you convert some of your application code (which use Entity
directory) to plugin (which use Model
directory).