You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"%s and %s define the same constant (%s) in the composition of %s. However, the definition differs and is considered incompatible. Class was composed",
if (check_trait_property_or_constant_value_compatibility(ce, &trait_constant->value, &existing_constant->value)) {
2238
+
// There is an existing constant which is compatible with the new one, so no need to add it
2239
+
return false;
2240
+
}
2246
2241
}
2247
-
returnis_compatible;
2242
+
2243
+
// There is an existing constant of the same name, and it conflicts with the new one, so let's throw a fatal error
2244
+
zend_error_noreturn(E_COMPILE_ERROR,
2245
+
"%s and %s define the same constant (%s) in the composition of %s. However, the definition differs and is considered incompatible. Class was composed",
0 commit comments