Skip to content

Instantly share code, notes, and snippets.

View pyrech's full-sized avatar
💭
🤖

Loïck Piera pyrech

💭
🤖
View GitHub Profile
@pyrech
pyrech / doctrine-ignore-entities-validation.patch
Last active December 7, 2020 13:49
Force Doctrine schema validation and update to ignore some entities ("schema_filter" does not work here).
diff --git a/src/Doctrine/ClassMetadataFactory.php b/src/Doctrine/ClassMetadataFactory.php
new file mode 100644
index 0000000000000000000000000000000000000000..f56ca274e79b3f93da587985b71260ea58ba5f76
--- /dev/null
+++ b/src/Doctrine/ClassMetadataFactory.php
@@ -0,0 +1,25 @@
+<?php
+
+namespace App\Doctrine;
+
@pyrech
pyrech / .gitconfig
Last active October 15, 2015 11:46
Ubuntu tweaks
[push]
default = current
[fetch]
prune = true
[core]
excludesfile = /home/loick/.gitignore_global
[rebase]
autosquash = true
[alias]
st = status
### Keybase proof
I hereby claim:
* I am pyrech on github.
* I am pyrech (https://keybase.io/pyrech) on keybase.
* I have a public key whose fingerprint is 9078 68E5 B6AF 41A2 9227 B159 2005 563D 67DF 3144
To claim this, I am signing this object: