Here are some violations in SOLID as examples

Violating Liskov’s substitution principle:

Inheritance is a purely “syntactic” relationship, whereas Liskov Substitution is also a “semantic” relationship.

Case 1:
How strengthened pre-condition breaks applications:

As you can see subclass object altered the baseclass price definition range for Pro Package. So this violates liskov’sSP and may crash app in later implementations.

Case 2:
How weakened post-condition breaks applications