Use var instead of Item

Signed-off-by: Igor Popov <igor@igorpopov.io>
Convert for to foreach

Signed-off-by: Igor Popov <igor@igorpopov.io>
Extract method to update quality for item

Signed-off-by: Igor Popov <igor@igorpopov.io>
Rearrange the ifs for decreasing quality

Signed-off-by: Igor Popov <igor@igorpopov.io>
Extract method to decrease quality

Signed-off-by: Igor Popov <igor@igorpopov.io>
Simplify quality dropping

Signed-off-by: Igor Popov <igor@igorpopov.io>
Extract method for increasing quality

Signed-off-by: Igor Popov <igor@igorpopov.io>
Remove if for increasing quality

Signed-off-by: Igor Popov <igor@igorpopov.io>
Inline ifs for backstage passes

Signed-off-by: Igor Popov <igor@igorpopov.io>
Extract method to drop quality

Signed-off-by: Igor Popov <igor@igorpopov.io>
Extract method to decrease sell in

Signed-off-by: Igor Popov <igor@igorpopov.io>
Use the decrement operator

Signed-off-by: Igor Popov <igor@igorpopov.io>
Use the increment operator

Signed-off-by: Igor Popov <igor@igorpopov.io>
Inline ifs for updating quality

Signed-off-by: Igor Popov <igor@igorpopov.io>
Invert if for aged brie and backstage passes

Signed-off-by: Igor Popov <igor@igorpopov.io>
Split if statement

Signed-off-by: Igor Popov <igor@igorpopov.io>
Remove dead code

Signed-off-by: Igor Popov <igor@igorpopov.io>
Remove unnecessary if

Signed-off-by: Igor Popov <igor@igorpopov.io>
Remove inner if

Signed-off-by: Igor Popov <igor@igorpopov.io>
Invert if for sulfuras

Signed-off-by: Igor Popov <igor@igorpopov.io>