Rule Definition
Having the errors displayed on the web page for the user can not be such a good idea but hiding it is not either because it is time consuming. Every time when an error is hidden the performance of your application is decreasing. Instead of trying to hide the errors it is much better to try and handle them.
Remediation
Try to reduce the use of @ and instead provide a mechanish of errors handling.
Violation Code Sample
<?php
@move_uploaded_file('CAST', '/tmp/file.csv');
?>
Fixed Code Sample
<?php
move_uploaded_file('CAST', '/tmp/file.csv');
?>
Related Technologies
Technical Criterion
CWE-392 - Missing Report of Error Condition
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.